package java学习.第05章_数组;

/**
 * ClassName: B_数组初始值
 * Package: java学习.第05章_数组
 * Description:
 *
 * @Author 张蛟龙
 * @Create 2023/3/2 18:33
 * @Version 1.0
 */
public class B_数组初始值 {
    public static void main(String[] args) {
        数字初始值();


    }

    private static void 数字初始值() {
        byte[] bytes = new byte[5];//0
        char[] chars = new char[5];//0  不是字符0  是   \u0000   阿斯克码
        short[] sorts = new short[5];//0
        int[] ints = new int[5];//0
        long[] longs = new long[5];//0
        boolean[] booleans = new boolean[5];//false
        float[] floats = new float[5];//0.0
        double[] doubles = new double[5];//0.0

        String[] strings = new String[5];//null  不是字符串 "null"

        System.out.println(strings[1]);
    }

}
